using System.Threading.Tasks;
using HengTong.Model.Db.SupplyChain.Material;
using UUIDNext;


namespace HengTong.ViewModel.SupplyChain.SysRawMaterialVms
{
    public partial class SysRawMaterialVm : CrudVm<SysRawMaterial>
    {

        public SysRawMaterialVm()
        {
        }

        protected override void InitVM()
        {
        }

        public override async Task DoAddAsync()
        {
            Entity.ID = Uuid.NewDatabaseFriendly(Database.SqlServer);
            await base.DoAddAsync();
        }

        public override async Task DoEditAsync(bool updateAllFields = false)
        {
            await base.DoEditAsync(updateAllFields);
        }

    }
}
